﻿package org.hyy.dogetEncoding;

import java.io.UnsupportedEncodingException;

/**
 * 对doget方法进行编码转换过滤
 * 可惜失败
 * @author Administrator
 *
 */

public class EncodString {
public static String trans(String in) {
   try {
    in = new String(in.getBytes("ISO-8859-1"), "UTF-8");
   } catch (UnsupportedEncodingException e) {
    e.printStackTrace();
   }
   return in;
}
}
